using System;

namespace Voodoo.Meta.RVModules
{
	[AttributeUsage(AttributeTargets.Method)]
	public class ExposeMethodInEditorAttribute : Attribute
	{
		private bool _isValueChange;

		private bool _isForceExecuteInEditMode;

		public bool IsForceExecuteInEditMode => _isForceExecuteInEditMode;

		public bool IsValueChange => _isValueChange;

		public ExposeMethodInEditorAttribute(bool isValueChange = false, bool isForceExecuteInEditMode = false)
		{
			_isValueChange = isValueChange;
			_isForceExecuteInEditMode = isForceExecuteInEditMode;
		}
	}
}
